package com.whlilong.jxc.action;

import org.eclipse.jface.action.Action;
import org.eclipse.ui.IWorkbenchWindow;

import com.whlilong.jxc.filemanager.editor.BrandInfoEditor;
import com.whlilong.jxc.filemanager.editor.BusinessInfoEditor;
import com.whlilong.jxc.filemanager.editor.ClientInfoEditor;
import com.whlilong.jxc.filemanager.editor.DistrictEditor;
import com.whlilong.jxc.filemanager.editor.MerchantTypeEditor;
import com.whlilong.jxc.service.editor.IEditorService;

public class RefreshAction extends AbstractAction {
    private IWorkbenchWindow window;
	
	private String id = "com.whlilong.jxc.refresh";
	
	public RefreshAction(IWorkbenchWindow window) {
		// TODO Auto-generated constructor stub
		super(window);
		setId("refresh");
		setActionDefinitionId(id);
	}

	@Override
	void doOperator(IEditorService ieditorService) {
		// TODO Auto-generated method stub
		ieditorService.refresh();
	}
}
